<template>
  <el-container>
    <el-header>
      <header-nav />
    </el-header>
    <el-main>
      <el-empty description="页面404">
        <el-button type="primary">
          <el-link :underline="false"  href="/">
            返回首页
          </el-link>
        </el-button>
      </el-empty>
    </el-main>
    <el-footer>
      <footer-box />
    </el-footer>
  </el-container>
</template>

<script lang="ts" setup>
import FooterBox from '@/components/common/FooterBox.vue'
import HeaderNav from '@/components/common/HeaderNav.vue'

</script>

<style lang="scss" scoped>
.el-container {
  background-color: #fbfbfd;
  height: 100vh;
  display: unset;

  .el-header {
    padding: 0;
    height: 30px;
    position: fixed;
    top: 0;
    z-index: 2;
    width: 100%;
  }

  .el-main {
    margin-top: 0;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: unset;
    .el-link {
      color: #ffffff;
    }

  }

  .el-footer {
    height: 30px;
    line-height: 30px;
    text-align: center;
    width: 100%;
    position: fixed;
    bottom: 0;
    background-color: #f5f7fa;
    border-top: 1px solid #cecece;
    color: #b1b3b8;
  }
}
</style>
